package org.jsola.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

import static org.jsola.contract.example.TemplateVariableExample.E_TEMPLATE_ID;
import static org.jsola.contract.example.TemplateVariableExample.E_VARIABLE_ID;
import static org.jsola.contract.example.TemplateVariableExample.N_TEMPLATE_ID;
import static org.jsola.contract.example.TemplateVariableExample.N_VARIABLE_ID;

/**
 * 合同模板关联变量
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【合同模板关联变量】的参数")
@Data
public class TemplateVariableAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_TEMPLATE_ID, example = E_TEMPLATE_ID)
    private Long templateId;

    @ApiModelProperty(notes = N_VARIABLE_ID, example = E_VARIABLE_ID)
    private Long variableId;


}

